# Replication Materials for "Sequential Monte Carlo for Sampling Balanced and Compact Redistricting Plans"

- The `R/` folder contains the replication scripts.
The `00_setup.R` file should be run first.
The other files may then be run in any order.
Package dependencies are listed at the top of `00_setup.R`.
- The `src/` folder contains C++ code for computing the number of sequentially valid labelings.
This code is also implemented in the `redist` package but is included here as it is used by `12_labels.R`.
- The `data/` folder contains shapefiles and enumerated plans for the validation and application sections.